<template>
  <div>
      <ul>
          <li>消息ID：{{$route.query.id}}</li>
          <li>这是消息:{{$route.query.title}} </li>
      </ul>
  </div>
</template>

<script>
export default {
    name:'Detail',
    mounted() {
        console.log(this.$route);
    }
}
</script>
